package com.xc.freeapp.entity;

import java.util.Date;

import com.wordnik.swagger.annotations.ApiModel;
import com.wordnik.swagger.annotations.ApiModelProperty;
@ApiModel(value = "Users", description = "用户")
public class Users {
	@ApiModelProperty(value = "用户id")
    private Integer userid;
	@ApiModelProperty(value = "appid")
    private Integer businessid;
	@ApiModelProperty(value = "用户姓名")
    private String loginname;
	@ApiModelProperty(value = "手机号码/登录名")
    private String telephone;
	@ApiModelProperty(value = "登录密码")
    private String loginpwd;
	@ApiModelProperty(value = "用户头像")
    private String icon;
	@ApiModelProperty(value = "用户真实姓名")
    private String realName;

    private String cardId;
    @ApiModelProperty(value = "性别")
    private Integer gender;
    @ApiModelProperty(value = "生日")
    private Date age;
    @ApiModelProperty(value = "地址")
    private String address;

    private Integer age1;
    public Integer getAge1() {
		return age1;
	}

	public void setAge1(Integer age1) {
		this.age1 = age1;
	}

	private String remark;

    private String qqnum;

    private String weixinnum;

    private String email;

    private String registrationid;

    private Integer createby;

    private Date createtime;

    private Integer updateby;

    private Date updatetime;

    private String delflag;

    private String registertype;

    private String deviceinfo;

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getBusinessid() {
        return businessid;
    }

    public void setBusinessid(Integer businessid) {
        this.businessid = businessid;
    }

    public String getLoginname() {
        return loginname;
    }

    public void setLoginname(String loginname) {
        this.loginname = loginname == null ? null : loginname.trim();
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone == null ? null : telephone.trim();
    }

    public String getLoginpwd() {
        return loginpwd;
    }

    public void setLoginpwd(String loginpwd) {
        this.loginpwd = loginpwd == null ? null : loginpwd.trim();
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon == null ? null : icon.trim();
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName == null ? null : realName.trim();
    }

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId == null ? null : cardId.trim();
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

   

    public Date getAge() {
		return age;
	}

	public void setAge(Date age) {
		this.age = age;
	}

	public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getQqnum() {
        return qqnum;
    }

    public void setQqnum(String qqnum) {
        this.qqnum = qqnum == null ? null : qqnum.trim();
    }

    public String getWeixinnum() {
        return weixinnum;
    }

    public void setWeixinnum(String weixinnum) {
        this.weixinnum = weixinnum == null ? null : weixinnum.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getRegistrationid() {
        return registrationid;
    }

    public void setRegistrationid(String registrationid) {
        this.registrationid = registrationid == null ? null : registrationid.trim();
    }

    public Integer getCreateby() {
        return createby;
    }

    public void setCreateby(Integer createby) {
        this.createby = createby;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Integer getUpdateby() {
        return updateby;
    }

    public void setUpdateby(Integer updateby) {
        this.updateby = updateby;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public String getDelflag() {
        return delflag;
    }

    public void setDelflag(String delflag) {
        this.delflag = delflag == null ? null : delflag.trim();
    }

    public String getRegistertype() {
        return registertype;
    }

    public void setRegistertype(String registertype) {
        this.registertype = registertype == null ? null : registertype.trim();
    }

    public String getDeviceinfo() {
        return deviceinfo;
    }

    public void setDeviceinfo(String deviceinfo) {
        this.deviceinfo = deviceinfo == null ? null : deviceinfo.trim();
    }

	@Override
	public String toString() {
		return "Users [userid=" + userid + ", businessid=" + businessid
				+ ", loginname=" + loginname + ", telephone=" + telephone
				+ ", loginpwd=" + loginpwd + ", icon=" + icon + ", realName="
				+ realName + ", cardId=" + cardId + ", gender=" + gender
				+ ", age=" + age + ", address=" + address + ", remark="
				+ remark + ", qqnum=" + qqnum + ", weixinnum=" + weixinnum
				+ ", email=" + email + ", registrationid=" + registrationid
				+ ", createby=" + createby + ", createtime=" + createtime
				+ ", updateby=" + updateby + ", updatetime=" + updatetime
				+ ", delflag=" + delflag + ", registertype=" + registertype
				+ ", deviceinfo=" + deviceinfo + "]";
	}
    
}